package com.njqy.ticket.service.common.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njqy.ticket.entity.common.RoleEntity;
import com.njqy.ticket.mapper.common.RoleMapper;
import com.njqy.ticket.service.common.IRoleService;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, RoleEntity> implements IRoleService {

    @Override
    public String getRoleKey(String username) {
        return this.getBaseMapper().selectRoleKey(username);
    }

}
